package com.orange.cetback.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.*;

/**
 * <p>
 * 写作批改评价表
 * </p>
 *
 * @author chenenjun
 * @since 2025-03-06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("writing_correction")
public class WritingCorrection implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 写作批改主键ID
     */
    @TableId(value = "correction_id", type = IdType.AUTO)
    private Long correctionId;

    /**
     * 关联的用户作答记录ID（外键）
     */
    private Long recordId;

    /**
     * 整体建议
     */
    private String essayAdvice;

    /**
     * 总分
     */
    private BigDecimal totalScore;

    /**
     * 总体评价
     */
    private String totalEvaluation;

    /**
     * 满分值
     */
    private BigDecimal fullScore;

    /**
     * 语法得分
     */
    private BigDecimal grammarScore;

    /**
     * 语法建议
     */
    private String grammarAdvice;

    /**
     * 主题得分
     */
    private BigDecimal topicScore;

    /**
     * 词汇得分
     */
    private BigDecimal wordScore;

    /**
     * 词汇建议
     */
    private String wordAdvice;

    /**
     * 结构得分
     */
    private BigDecimal structureScore;

    /**
     * 结构建议
     */
    private String structureAdvice;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
